﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200009B RID: 155
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AlleyShipUsedCountScNotify : IMessage<AlleyShipUsedCountScNotify>, IMessage, IEquatable<AlleyShipUsedCountScNotify>, IDeepCloneable<AlleyShipUsedCountScNotify>, IBufferMessage
	{
		// Token: 0x170001E5 RID: 485
		// (get) Token: 0x060006C3 RID: 1731 RVA: 0x00013800 File Offset: 0x00011A00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AlleyShipUsedCountScNotify> Parser
		{
			get
			{
				return AlleyShipUsedCountScNotify._parser;
			}
		}

		// Token: 0x170001E6 RID: 486
		// (get) Token: 0x060006C4 RID: 1732 RVA: 0x00013807 File Offset: 0x00011A07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AlleyShipUsedCountScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170001E7 RID: 487
		// (get) Token: 0x060006C5 RID: 1733 RVA: 0x00013819 File Offset: 0x00011A19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AlleyShipUsedCountScNotify.Descriptor;
			}
		}

		// Token: 0x060006C6 RID: 1734 RVA: 0x00013820 File Offset: 0x00011A20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyShipUsedCountScNotify()
		{
		}

		// Token: 0x060006C7 RID: 1735 RVA: 0x00013833 File Offset: 0x00011A33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyShipUsedCountScNotify(AlleyShipUsedCountScNotify other) : this()
		{
			this.cAPNJOIANHJ_ = other.cAPNJOIANHJ_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060006C8 RID: 1736 RVA: 0x0001385D File Offset: 0x00011A5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyShipUsedCountScNotify Clone()
		{
			return new AlleyShipUsedCountScNotify(this);
		}

		// Token: 0x170001E8 RID: 488
		// (get) Token: 0x060006C9 RID: 1737 RVA: 0x00013865 File Offset: 0x00011A65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, uint> CAPNJOIANHJ
		{
			get
			{
				return this.cAPNJOIANHJ_;
			}
		}

		// Token: 0x060006CA RID: 1738 RVA: 0x0001386D File Offset: 0x00011A6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AlleyShipUsedCountScNotify);
		}

		// Token: 0x060006CB RID: 1739 RVA: 0x0001387B File Offset: 0x00011A7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AlleyShipUsedCountScNotify other)
		{
			return other != null && (other == this || (this.CAPNJOIANHJ.Equals(other.CAPNJOIANHJ) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060006CC RID: 1740 RVA: 0x000138B0 File Offset: 0x00011AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.CAPNJOIANHJ.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060006CD RID: 1741 RVA: 0x000138E4 File Offset: 0x00011AE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060006CE RID: 1742 RVA: 0x000138EC File Offset: 0x00011AEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060006CF RID: 1743 RVA: 0x000138F5 File Offset: 0x00011AF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.cAPNJOIANHJ_.WriteTo(ref output, AlleyShipUsedCountScNotify._map_cAPNJOIANHJ_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060006D0 RID: 1744 RVA: 0x0001391C File Offset: 0x00011B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.cAPNJOIANHJ_.CalculateSize(AlleyShipUsedCountScNotify._map_cAPNJOIANHJ_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060006D1 RID: 1745 RVA: 0x00013955 File Offset: 0x00011B55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AlleyShipUsedCountScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.cAPNJOIANHJ_.MergeFrom(other.cAPNJOIANHJ_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060006D2 RID: 1746 RVA: 0x00013983 File Offset: 0x00011B83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060006D3 RID: 1747 RVA: 0x0001398C File Offset: 0x00011B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.cAPNJOIANHJ_.AddEntriesFrom(ref input, AlleyShipUsedCountScNotify._map_cAPNJOIANHJ_codec);
				}
			}
		}

		// Token: 0x04000273 RID: 627
		private static readonly MessageParser<AlleyShipUsedCountScNotify> _parser = new MessageParser<AlleyShipUsedCountScNotify>(() => new AlleyShipUsedCountScNotify());

		// Token: 0x04000274 RID: 628
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000275 RID: 629
		public const int CAPNJOIANHJFieldNumber = 15;

		// Token: 0x04000276 RID: 630
		private static readonly MapField<uint, uint>.Codec _map_cAPNJOIANHJ_codec = new MapField<uint, uint>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForUInt32(16U, 0U), 122U);

		// Token: 0x04000277 RID: 631
		private readonly MapField<uint, uint> cAPNJOIANHJ_ = new MapField<uint, uint>();
	}
}
